#include <stdio.h>
#include <sys/stat.h>

int main()
{
	struct stat infobuf;           

	if ( stat( "/etc/networks", &infobuf) == -1 )
		perror("/etc/networks");
	else
		printf(" The size of /etc/networks is %d\n", infobuf.st_size );
}
